package com.example.mapstruct_test.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.gitee.sunchenbin.mybatis.actable.annotation.Column;
import com.gitee.sunchenbin.mybatis.actable.annotation.Table;
import lombok.Data;

@Data
@TableName("test_user")
@Table(comment = "测试表")
public class User {
    @TableId
    @Column(comment = "id", isNull = false)
    private Integer id;
    @Column(comment = "userName", isNull = false)
    private String userName;
    @Column(comment = "age", isNull = false)
    private Integer age;
    @Column(comment = "address", isNull = false)
    private String address;
    @Column(comment = "delFlg", isNull = false)
    private Integer delFlg;
}
